﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Apewer.Source
{

    /// <summary>数据库记录通用字段模型。</summary>
    public interface IRecordStamp : IRecord
    {

        /// <summary>记录的创建时间，默认为本地时间。</summary>
        long Created { get; set; }

        /// <summary>记录的更新时间，默认为本地时间。</summary>
        long Updated { get; set; }

        /// <summary>获取 Created 和 Updated 属性的值。</summary>
        long GenerateStamp();

    }

}
